﻿
importPackage(java.lang);
importPackage(Packages.client);
importPackage(Packages.client.inventory);
importPackage(Packages.server);
importPackage(Packages.constants);
importPackage(Packages.net.channel);
importPackage(Packages.tools);
importPackage(Packages.scripting);
importPackage(Packages.tools.packet);
importPackage(Packages.tools.data);
importPackage(Packages.tools);
importPackage(Packages.leonard);
/*
26 QQ:958080174
 */
function start() {
	var 通缉BOSS = Packages.leonard.WildBossRank.通缉BOSS
	var 通缉地图 = Packages.leonard.WildBossRank.通缉地图

	var 通缉BOSS备用 = Packages.leonard.WildBossRank.通缉BOSS备用
	var 通缉地图备用 = Packages.leonard.WildBossRank.通缉地图备用

	//var mobName = Packages.server.life.MapleLifeFactory.getMonster(通缉BOSS备用);
	var mobstate =  Packages.server.life.MapleLifeFactory.getMonsterStats(通缉BOSS备用);

	var 名称 = mobstate.getName();
	var 等级 = mobstate.getLevel();
	var 血量 = mobstate.getHp();
	var 回避 = mobstate.getEva();
	var 命中 = mobstate.getAcc();
	var 状态 = (通缉BOSS > 0 ) ? "#r未缉拿#k" : "#g已缉拿#k";
	//var 图片 = (通缉BOSS > 0 ) ? "#fMob/"+通缉BOSS备用+"/stand/0#" : "#fMob/"+通缉BOSS备用+"/hit1/0#"
	var 图片 = (通缉BOSS > 0 ) ? "#fMob/"+通缉BOSS备用+"/stand/0#" : "#fMob/"+通缉BOSS备用+"/stand/0#"

	cm.sendNext("#r#d每次缉拿将会获得:每日积分 #r1点#d 点券 #r100点#d\r\n当前通缉BOSS:#r" + 名称 + "#d \r\n出没位置: #m"+通缉地图备用+"#  状态: "+ 状态+"\r\n等级:#r" + 等级 + "#d  血量:#r" + 血量 + "#d  回避:#r" + 回避 + "#d  命中:#r" + 命中 + "#d\r\n" +图片);

}
